/**
 * 
 * @export
 * @interface CodeGenFormData
 */
 export interface CodeGenDetailData {
    id:number;
    //关联基本信息id
    baseInfoId:number;
    /**
     * 表名
     */
    tableName: string;
    /**
     * 描述
     */
    tableDescription:string;
    //关联数据表
    relationTableName:string |undefined;
    //关联主键
    relationKey:string |undefined;
    //外键
    foreignKey:string |undefined;
    //类型:
    //Main,Sub
    tableType:string;
    //字段信息
    fieldInfos:Array<FieldInfo>;
}
/**
 * 
 * @export
 * @interface FormDataAddInput
 */
 export interface FormDataAddInput {

 }

 /**
 * 
 * @export
 * @interface FormDataUpdateInput
 */
  export interface FormDataUpdateInput {
    
}

export interface FieldInfo{
    columnName :string
    /// <summary>
    /// 字段描述
    /// </summary>
    columnDescription:string
    /// <summary>
    /// 字段长度
    /// </summary>
    length:number
    // 小数点
    decimalDigits:number
    /// <summary>
    /// 字段类型
    /// </summary>
    columnDataType:string
    /// <summary>
    /// 是否是主键
    /// </summary>
    isPrimaryKey:boolean
    /// <summary>
    /// 是否允许为空
    /// </summary>
    isNullable:boolean
}